<&include file="include/header.tpl" title=$title username=$user_firstname web_site=$web_site&>
<!--page_text-->
	<div id="main">
    	<&include file="include/account_header.tpl" cur_tab="account"&>
		<div id="my-account">
        	<div class="left-box">            	
            	<ul>
            		<li><a href="<&$web_site&>/user/account" >Account Settings</a></li>
                	<li><a href="<&$web_site&>/user/basic" >Basic Profile</a></li>              	            	
                    <li><a href="<&$web_site&>/user/trainerprofile" class="now">Trainer Profile</a></li>
                	<!--<li><a href="<&$web_site&>/user/transaction">Transactions History</a></li>-->
            	</ul>
            </div>
            <div class="right-box">
            	<div class="form-box">

                    <input type="hidden" id="age_id" value="<&$user.age_id&>" />
                    <input type="hidden" id="body_id" value="<&$user.body_id&>" />
                    <input type="hidden" id="experience_id" value="<&$user.experience_id&>" />
                    <input type="hidden" id="trainingservice_id" value="<&$user.trainingservice_id&>" />
                    <input type="hidden" id="edulevel_id" value="<&$user.edulevel_id&>" />
                	<table cellpadding="0" cellspacing="0" border="0" class="box7">
                    	<tr><td class="left">
                        	<div class="form-text-box"><span>*</span><b class="w-auto">Experiences</b></div>
                            <i>I am professional trainer/instructor with</i>
                            <div class="sel" id="experience_block"><input type="text" class="text-box120" id="experience_name" readonly="readonly" style="cursor:default" value="<&$objConfigModel->getExperience($user.experience_id, "please select")&>"/><a href="#" class="next-sel" id="experience_list_ctrl"></a><ul class="text-box120 sel-lists-box" style="display:none" id="experience_list"><&foreach item=experience from=$experience_list name=experience_list&><li id="<&$experience.id&>"><&$experience.experience_name&></li><&/foreach&></ul></div>
                            <label>Years of experiences</label>
                        </td><td class="right">
                        	<div class="form-text-box"><span>*</span><b class="w-auto">Service I provid</b></div>
                            <i>　</i>
                            <div class="sel" id="trainingservice_block"><input type="text"  value="<&$objConfigModel->getTrainingservice($user.trainingservice_id, "please select")&>" id="trainingservice_name" class="text-box215" readonly="readonly" style="cursor:default"/><a href="#" class="next-sel" id="trainingservice_list_ctrl"></a><ul class="text-box215 sel-lists-box" style="display:none" id="trainingservice_list"><&foreach item=trainingservice from=$trainingservice_list name=trainingservice_list&><li id="<&$trainingservice.id&>"><&$trainingservice.trainingservice_name&></li><&/foreach&></ul></div>
                        </td></tr>
                    </table>
                        	
                	<div class="form-text-box"><span>*</span><b  class="w-auto">My Training Specialties, interests (tags/keywords)</b></div>
                    <div class="goal">
                    	<input type="text" class="text-box215" id="interested_activity"/><a href="#nogo" id="activity_add">Add</a><p>Maximum 15 specialities tags: multiple keywords/ tags must be seperated by comma, e,g. weight loss, Yoga, Or enter one tags at a time</p>
                        <div class="lists" id="interested_activities">
                            <&foreach item=activity from=$activity_list name=activity_list&>
                                <span><&$activity.name&><i></i></span>
                            <&/foreach&>                                       
                        </div>
                    </div>
                    
                    <table cellpadding="0" cellspacing="0" border="0" class="box1">
                    	<tr><td class="left">
                        	<div class="form-text-box"><span>*</span><b class="w-auto">Credentials</b></div>
                            <ul id="credential_table">
                                <&foreach item=credential from=$credential_list name=credential_list&>
                                                         
                                <li><label id="<&$credential.id&>"class="check-box <&if $credential.selected&>check-true<&else&>check-false<&/if&>"><span><&$credential.credential_name&></span></label></li>
                              
                                <&/foreach&>
                        
                            </ul>
                        </td><td class="right">
                            
                        	<div class="form-text-box"><span>*</span><b class="w-auto">Education</b></div>
                            <div class="form-text-box" style="z-index:5"><em class="w-auto">Education level</em><div class="sel" id="edulevel_block"><input type="text"  value="<&$objConfigModel->getEdulevel($user.edulevel_id, "please select")&>" class="text-box150" readonly="readonly" style="cursor:default" id="edulevel_name"/><a href="#" class="next-sel" id="edulevel_list_ctrl"></a><ul class="text-box150 sel-lists-box" style="display:none" id="edulevel_list"><&foreach item=edulevel from=$edulevel_list name=edulevel_list&><li id="<&$edulevel.id&>"><&$edulevel.edulevel_name&></li><&/foreach&></ul></div></div>
                            <div class="form-text-box"><em class="w-auto">School</em><input type="text"  value="<&$user.school&>" class="text-box150" name="school" id="school"/></div>
                            <div class="form-text-box"><em class="w-auto">Major</em><input type="text" name="major" id="major" value="<&$user.major&>" class="text-box150" /></div>
                        </td></tr>
                    </table>
                    
                    <div class="form-text-box"><span>*</span><b  class="w-auto">Training Bio <i>(focus on your training experiences, philosophy etc.)</i></b></div>
                    <textarea name="" cols="" rows="" name="bio" id="bio" class="verymore"><&$user.BIO&></textarea>
                    <div class="form-text-box" style="z-index:10" id="age_block"><span>*</span><b  class="w-auto">My age</b><div class="sel"><input type="text"  value="<&$objConfigModel->getAge($user.age_id, "please select")&>" id="age_name" class="text-box215" readonly="readonly" style="cursor:default"/><a href="#" class="next-sel" id="age_list_ctrl"></a><ul class="text-box215 sel-lists-box" style="display:none" id="age_list"><&foreach item=age from=$age_list name=age_list&><li id="<&$age.id&>"><&$age.age_name&></li><&/foreach&></ul></div></div>
                    <div class="form-text-box" style="z-index:5" id="body_block"><span>*</span><b  class="w-auto">Body type now</b><div class="sel"><input type="text"  value="<&$objConfigModel->getBody($user.body_id, "please select")&>" class="text-box215" readonly="readonly" style="cursor:default" id="body_name"/><a href="#" class="next-sel" id="body_list_ctrl"></a><ul class="text-box215 sel-lists-box" style="display:none" id="body_list"><&foreach item=body from=$body_list name=body_list&><li id="<&$body.id&>"><&$body.body_name&></li><&/foreach&></ul></div></div>
                     <div class="form-submit-box">
                    	<a href="<&$web_site&>/user/detail/uid/<&$user.id&>">View profile</a>
            			<input  type="button" value="Save" class="submit-this-form" id="trainer_profile"/>
            		</div>
                </div>
           
            </div>
        </div>

    </div>
<!--page_text_over-->
<&include file="include/footer.tpl" &>